<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Usuario
 *
 * @author Jeferson
 */
require_once ("Banco.php");
class Usuario extends Banco{
    
    private $nome;
    private $id;
    private $senha;
    
    public function getNome() {
        return $this->nome;
    }

    public function setNome($nome) {
        $this->nome = $nome;
    }

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getSenha() {
        return $this->senha;
    }

    public function setSenha($senha) {
        $this->senha = $senha;
    }
    
    public function incluir(){
        $this->tabela="tb_usuario";
        $this->campos=array("usu_nome","usu_senha");
        $this->valores=array($this->getNome(),  $this->getSenha());
        $result = $this->inserirRegistro();
        
        return $result;
    
                
    }


    
    
    }

?>
